/*
 * @Author: your name
 * @Date: 2022-04-26 15:14:45
 * @LastEditTime: 2022-04-27 10:27:35
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \vite\src\main.ts
 */

import { createApp } from 'vue'

//pinia持久化
import piniaPersist from 'pinia-plugin-persist'
import store from './store/index'
import App from './App.vue'
import router from './router/index'


const app =createApp(App)
store.use(piniaPersist)
// 挂载到 Vue 根实例上
app.use(store)
app.use(router)
app.mount('#app')